Improving Real Analysis in Coq: A User-Friendly Approach to Integrals and Derivatives
نویسندگان
چکیده
Verification of numerical analysis programs requires dealing with derivatives and integrals. High confidence in this process can be achieved using a formal proof checker, such as Coq. Its standard library provides an axiomatization of real numbers and various lemmas about real analysis, which may be used for this purpose. Unfortunately, its definitions of derivative and integral are unpractical as they are partial functions that demand a proof term. This proof term makes the handling of mathematical formulas cumbersome and does not conform to traditional analysis. Other proof assistants usually do not suffer from this issue; for instance, they may rely on Hilbert’s epsilon to get total operators. In this paper, we propose a way to define total operators for derivative and integral without having to extend Coq’s standard axiomatization of real numbers. We proved the compatibility of our definitions with the standard library’s in order to leverage existing results. We also greatly improved automation for real analysis proofs that use Coq standard definitions. We exercised our approach on lemmas involving iterated partial derivatives and differentiation under the integral sign, that were missing from the formal proof of a numerical program solving the wave equation.
منابع مشابه
Congestion Management through Optimal Allocation of FACTS Devices Using DigSILENT-Based DPSO Algorithm- A Real Case Study
Flexible AC Transmission Systems (FACTS) devices have shown satisfactory performance in alleviating the problems of electrical transmission systems. Optimal FACTS allocation problem, which includes finding optimal type and location of these devices, have been widely studied by researchers for improving variety of power system technical parameters. In this paper, a DIgSILENT-based Discrete Parti...
متن کاملStability and Robust Performance Analysis of Fractional Order Controller over Conventional Controller Design
In this paper, a new comparative approach has been proposed for reliable controller design. Scientists and engineers are often confronted with the analysis, design, and synthesis of real-life problems. The first step in such studies is the development of a 'mathematical model' which can be considered as a substitute for the real problem. The mathematical model is used here as a plant. Fractiona...
متن کاملTiO2 Nanoparticles: A Potent Heterogenous Nanocatalyst Mediated One-Pot Tandem Approach for the Environmentally Friendly Synthesis of 3,4-Dihydropyrimidin-2-(1H)-One/Thione Derivatives Under Solvent-Free Conditions
This procedure has developed the use of TiO2 nanoparticles as an environmentally friendly and highly efficient heterogenous nanocatalyst for the eco-safe, facile and one-pot three-component Biginelli synthesis of biologically active corresponding 3,4-dihydropyrimidin-2-(1H)-one/thione derivatives under solvent-free conditions. This eco-friendly protocol provi...
متن کاملA Boundary Elements and Particular Integrals Implementation for Thermoelastic Stress Analysis
A formulation and an implementation of two-dimensional Boundary Element Method (BEM) analysis for steady state, uncoupled thermoelastic problems is presented. This approach differs from other treatments of thermal loads in BEM analysis in which the domain integrals due to the thermal gradients are to be incorporated in the analysis via particular-integrals. Thus unlike Finite Elements or Field ...
متن کاملA General New Algorithm for Regulaization of Singular Integrals in Three-Dimensional Boundary Elemnts
In this paper an algorithm is presented for the regularization of singular integrals with any degrees of singularity, which may be employed in all three-dimensional problems analyzed by Boundary Elements. The integrals in Boundary Integrals Equations are inherently singular. For example, one can mention the integrals confronted in potential problems to evaluate the flow or the gradient of the f...
متن کامل